public class test {
    public static void main(String[] args) {
        WaterV water = new WaterV();
        int[] elem = {1,8,6,2,5,4,8,3,7};
        int v = water.water(elem);
        System.out.println(v);
    }
}
